package day23.Person;

public class A{
  static int i;
  int j,k;
  public void fun(){
      System.out.println("哈哈");
      for (int j = 0; j < 20; j++) {
          i++;
      }
  }
  public void f(){
      this.fun();
      System.out.println(this);
  }
}
class B extends A{
    static int k;
    public void fun(){
        for (j = 0; j < 10; j++) {
            System.out.println("太6了");
            k+=3;
        }
    }
}
class Main{
    public static void main(String[] args) {
        A a=new B();
        a.f();
        System.out.println(a.k);
        System.out.println(a.j);
    }
}